﻿import clr
clr.AddReference('System.Web')

from System.Web.UI import *
from System.Web.UI.WebControls import *

def DefaultTemplateName():
	return "TextField"
	

def CreateChildControls():
	global textBox 
	textBox = this.TemplateContainer.FindControl("TextField")

def GetValue():
	this.EnsureChildControls()
	return textBox.Text
	
def SetValue(value):
	this.EnsureChildControls()
	textBox.Text=value
	
